Change cloeSync for disconnectSync.