initiate a graceful shutdown on a session