fix dispose logic for CriticalTimeCalculator

for issue #1291
remove code redundancies in TimeoutManager Tests