Err, revert previous commit. You have to explicitly call close() on sockets