0f4001d598
Motivation: Minor performance optimisation that prevents thread from blocking due to task not having been added to queue. Discussed #7815. Modification: add task to the queue before starting the thread. Result: No additional tests.