Merge "Fixed a bug when there are too many open sockets."