Fix launch main class
Added exception management for host unavailable