Unsurprisingly, the termination is not done client side, although I'm unsure how it is done. The VM stays up for another 30 seconds or so after the timer runs out, after which it's terminated. I imagine this is both a client and server side grace period, counted down on both simultaneously until...