Client changes.
Shutdown hook