1 fix transient error handling

Fixes #1.