Fix PromiseMonitor tearDown for envs with no console