Connector java process takes long time to shut down in cluster failed over