more graceful shutdown mechanism