Graceful Shutdown & De-Reg. Handling