Enabling waiting for connection.