Change add_handle to never have side effects on the buffer if it fails. It actually...