Basic implementation of begin_unwind