Added check for LEAP connectivity