Using internet.protocol Protocol, is it is possible to close only the writing half of a connection, like would be done with "shutdown(1)" using the Python Socket module? transport.loseConnection() seems to close down the connection alltogether, at which point Protocol.dataReceived() never gets called. Thanks.