Wrap calls in recordLatency in try-finally so that the endEpochUpdater gets updated regardless of the failure state of the internal calls
Adding a test, and cleaning up indentation
Merge pull request #3 from rlodge/recordLatencyDeadlock

Record latency deadlock