Boris Grozev: fixed failure to free resources for ReceiveStream-s.