Try to wait until Sauce Connect is ready instead of sleep.