Reducing connection attempts