shuttingDown doesn't actually seem to get reset here, which suggests that it'll remain `true` forever after the first time the simulator process is killed via the *kill* function.