when there are pending requests, the rest API should poll
periodically for situations in which the notifications
cannot work. (Examples: tasks created on other cluster nodes,
tasks with expired timeouts.)
- introduction of a fixed constant at which polling is being done by the rest API in case it has pending requests.
- Default timeout is 30s