Call cluster.disconnect() from master 'destroy' listener.