close connections when done with them