do not output timings if throwing exception

TimerOutput now no longer produces useless output if an exception is
thrown.
Merge pull request #39 from tjhei/do_not_do_timings_if_throwing

do not output timings if throwing exception