dbm: enforce proepr enter/leave pairing even for panicing code