How to reduce the number of UNIX sockets?