Quick exit

I changed the `setTimeout query` logics a bit. Hope it doesn't influence your previous considerations.
And now the output returns faster. Exiting is faster too.