32. a5 or axb is needed. Dropping the a pawn and allowing Black a passer will haunt you.
After 37. ... Nf6, 38. Nxd6 Kxd6 39. Rxg8 Rxg8 40. Rxf6+ and white's winning.
After 38. Rfg1 I think white loses. Either he drops the B, or the a pawn runs: 38. ... Rxg5 39. Rxg5 Nxh5 (kill the long-range B and displace the R so it can't get back to g1) 40. Rxh5 Rg8 (keep the R off the file) followed by pushing the a pawn.
After move 39 white is down a piece and black has 3 pieces able to control the g pawn's queening square. Black's a pawn is deadly. It's over IMO.
Here is an unusual closed game I just played here. I tried to take the initiative early but lost steam and later blundered. What went wrong? I think on the whole after I cleared the K-side pawns I should focus on attacking the Q-side, as the adage goes: "In closed games, attack where the pawns point"
Anyway, what gives?