Fixed connection deletion