When exchange is unable to retrieve the last value, it thows an IOException instead of 0.