Don't leak a thrd wq mtx.

Coverity CID 30291.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>