The Court of Chancery may grant injunctions for staying actions at law, and to prevent waste, as there may be occasion.