speedup during reloadconfig for a large number of sockets