Fixes issue with capture of blob after stop

If recording is stopped, the timeout which captures the blob continues