Check the demuxer was created before transition into Pause mode

Fixes issue 363