Add thread interrupt for pool