Made the loopback in the task request/reply queue have a delay.

Updated tests to take this delay into account.

AFDP-94