The old thread code caused time outs with a message set of 15000 messages so