fix atomic_concat/3 to be backtrackable.