Add 1ms interval to run until empty so that it can observe task cancelled.
Add 1ms interval to run until empty so that it can observe task cancelled.

exceptionless/Foundatio,Bartmax/Foundatio,FoundatioFx/Foundatio,wgraham17/Foundatio