better error message after a temporary IOException