deleting tmpFolder before quiting