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.
Merge pull request #467 from pablotdl/master

Fix for issue #466