Fix ros timers to work when bagfile finishes