Fix accidentally appending garbage to socket queue