[Gatekeeper] minor patch in case of connection failure