Close connections in async mode