Adding a sleep in _poll_till_task_done