HUE-1548 [sqoop2] Connection management refactored