support max_connections, drop if exceed.