This method is called when the rendering is interrupted. If the rendering has to restart or
must stop. The dispose method called then the rendering thread is interrupted. Because the
dispose method is called while the rendering thread is still running it MUST BE
THREADSAFE!!!!