target: Fix race between multiple invocations of target_qf_do_work()