Terminate detached workers