Fix force_shutdown() bug where we lose knowledge of a preimage