Check on max pending connections before accepting a connection