fix StreamingContext start state check