Refresh the execution during resume_execution to avoid using a detached SqlAlchemy instance
The idea here is to avoid a possible threading issue by re-retrieving the execution during resume_execution so as to avoid changing state and then trying to save a detached instance.