check for connection in the ais mode