I think that the need to release excessive flatulence is sufficient license to go to the restroom, and is just as justifiable as a pee break. Far better to be away from your desk and someplace safe for a few seconds than to inflict the discomfort of broken wind on your office neighbors.
That, or get Beano and a Flatulence Filter. Surely there must be ingredients which can metabolize hydrogen sulfide into odorless gas, wihch can then be integrated into our daily vitamin pills or something? Doesn’t modern science have a practical and applicable solution?