Positive logic and early return
Fix for RT#92810 - Allow re-executing/fetch on prepared sth

finish the statement when re-executing and sth is active