pool.setMaximumPoolSize(1);
pool.setBlockingMode(BlockingMode.RUN);
try
{
TestRunnable test = new TestRunnable(BASIC, "testx", Long.MAX_VALUE);
pool.run(test, 0, 1*1000);
// Run another task to validate the previous thread has been cleared
ArrayList tmp = new ArrayList();
for(int n = 0; n < 10; n ++)
{
String name = "test"+n;