more checking if the execution is stopped by user