Fixed connectServer() function