Close connections after we are done