checking the status of current execution