Remove duplicate connection close