changed method in timeutils to throw exception to signal retry