Fix syntax error with sleep command