No longer depend on q
Correctly terminate glob stream after it is ended