Remaining timeout to stop testing threads is now calculated properly