Fixes: Avoid race-conditions with long running threadpool tasks