Adding a “running” state using a “beforeRunning” boolean to allow a Core...

...Runnable to safely access its context without deadlocking