fixing missing sock disconnect when removing keychain entries