Fixed remove serv->connect_count, replace with maxfd