#107 use frwlock as checkpoint_safe_lock