Warning fix, delete broken Wait function in prio work queue