An injunction to stay proceedings at law shall not be issued until after the party obtaining the injunction shall give security in such sum as the court deems proper for the payment of costs, damages and reasonable attorney’s fees as may be incurred or suffered by any party who is found to be wrongfully enjoined.