Added a sleep configuration option to simulate a long-running task.