ENGINE-1760, change executeflownodeWork

 The work is in charge to put the activity in failed state, other methods that execute flow node work don't do that because e.g. it comes from an API call that rolback the execution and throw an exception on client side
Fix test can't be launched offline

issue came from virtual classloader was not able to load resource if it was not refreshed