More cleanup, use {active, N} sockets.