disconnect works when waiting for connection
1.5.1