fixup "Generic sleep_forever() based on lock"