Bug fix: call to undeclared sleep() function.