[0.8.0-beta.1+build.109] Refactored heartbeat to Monitor from Worker, reenabled doShutdown