fixed bug where stream would quit before connecting