bot can now connect to server and hold the connection