monitor number of sockets