delete singleton intance when iorQuery singleton class is closed