Change order of asio code in run stop adding a sleep to try and fix issue https://its.cern.ch/jira/browse/ATDSUPPORT-344 Also move clearing of clear queue to run start from run stop so we know clear thread not running when queue cleared.
Change order of asio code in run stop adding a sleep to try and fix issue https://its.cern.ch/jira/browse/ATDSUPPORT-344 Also move clearing of clear queue to run start from run stop so we know clear thread not running when queue cleared.