Clear the stream ID when the connections fails, refs #141