Adding a hung thread detection metric to the thread pool test. Works as
expected only for WAS 7.0 and 8.x, as the concerned PMI stat doesn't
provide consistent data under WAS 6.1.