Made writing and closing for connector and acceptor