Quick fix so that ToggleCapturing does not get called while the stream is starting up/shutting down.