Nothing herein contained shall be construed so as to prevent any court from entering an order to stay waste, and ordering a party to give bond and security in such manner as the court may deem appropriate.