support jts thread shutdown