Convert timeout ValueErrors to TimeoutStateErrors