Clear isExecutingStatement marker on close.