close every close able while shutdown the application