I think the bigger issue is that he was aware of when the nitrogen started, so tried holding his breath for as long as possible.
If he had the mask on and it was pumping breathable air, and then at some point switched to pure nitrogen without any warning that would be more humane because he wouldn’t know what was happening or when.