bug #2464: do tm delete retry in the host

Also does not fail when the file/path does not exist