Wrap isConnected body in dispatch_sync