Disable shutdown hook on client