If the motion is granted and the order of the court is not obeyed within 10 days after service of the order or within such other time as the court may fix, the court may strike the pleading to which the motion was directed or make such order as it deems just.