Threadpool executor service: better queue depth estimate.

Now ignores tasks actively executing.
Merge branch 'master' of github.com:aphyr/riemann