*using resource lock when moving core files around and changing run_list
(prevents a race condition when processes crash in the mid of run being
ended)