#1 guarantee the render thread has finished before returning from onSurfaceDestoyed