Fix #236: Upgrade to latest curator and enhance it so that clients are n...

...ot blocked waiting for a connection when shutting down