Issue #466, hazelcast client shutdown deadlock.
Changed the execution order so that the connection manager is shut down after the runnables are, this should avoid the reconnection attempt and deadlock.