graceful shutdown on supervisor