Changed to wait for requests to complete when destructing channels.