Graceful shutdown

- Add shutdownGracefully() and isShuttingDown()
- Add shutdownFuture()
- Deprecate shutdown() / shutdownNow()