Playback thread hangs infinitely during destruction of light deferred
canvas.

Added workaround to prevent inifinite wait.