ensure connection.lo_close