Make it possible to close an OFProcess for writing.