Added support for detecting writes after we have told the channel that we are in EOF and start returning errors in that case