fix retry connection and parsing loop
moved do_start_stream to own method