killtom function now works with multiple timcat instances