Ends the render if it has not completed: the bitmap keeps what was drawn, and the rasterizer may render again.
public void Dispose()