Put the late serialization callbacks in the finally block.