conn: do not schedule write if we are closing the connection