delete the duplicated connection