Fixed an early termination problem in statement client's result set processing logic