TM timeout in loop