[TO_STAGE] Disable local gear only after a remote gear is UP or there is a timeout.

Fix for bug 969007