Adding a missing close on the listening socket.