Probably safe to just sock.close() right after sleeping, since the response will be ignored anyways.