Tests that we can shut down the runtime with daemons still looping over locks.