Fix typo; remove excess sleep() call