remove disconnect when connection is detected