BAC-1230: added a small delay between queries if task was not found in TaskManager