stream close async