Changing how an active connection is detected