apparently doing this will let me reuse sockets