Fix send on closed channel bug Upstream-commit: c98eafe564b1828fb894749c33a8864257034af2 Component: engine