proceed query if stream is not over