gdiplus: Mark the Graphics object as busy before freeing it.