If the claimant —
(a) discontinues a claim after the defendant against whom the claim is discontinued has filed a defence;
(b) makes a subsequent claim against the same defendant arising out of facts which are the same or substantially the same as those relating to the discontinued claim; and
(c) has not paid the defendant's costs of the discontinued claim,
the court may stay the subsequent claim until the costs of the discontinued claim are paid.