Launcher now waits for main server thread to finish