Accept multiple exceptions to retry