cleanup of atomic rescue