The court may, upon petition therefor in such proceeding, issue a temporary injunction to effect the closing of such place against such unlawful business during the pendency of the petition.