Issue #155. Refresh error handling.

Signed-off-by: Matt Isaacs <misaacs@gilt.com>