reusable actions for Runners
Execute some actions and exit with the proper code if 'exit' is true
Exit the JVM with a given status