In all suits brought for the recovery of damages resulting from any nuisance, and the finding that the matter complained of is a nuisance, the court exercising a sound discretion may immediately, upon petition of plaintiff, order or decline to order the nuisance to be abated.