Fixed fail command and wait_for time limit argument