Call spin() immediately, then setResult(grid) when the server replies — the stop sequence lands on it.See it workGuide: Spin lifecycle