Atomicity on HTLC payment chain
It is atomic
If a node goes offline the htlc will not be settled off chain but onchain. of course that is more expensive with respect to fees but that is true for channel closes in any case