added an interval callback to check streaming status.