HCOLL-231 Close the connection when the attached is dropped.