channels: fix memory leak in stream pools.