made closing connections