TS: addCallback and removeCallback added (to replace addTimer(seconds=0, ...)

More test coverage for close-retrying and irrelevant error ignoring.