That's really pushing things.
I usually cap it around 20-25mph though direction does matter (I check the forecast before heading out). On open level areas, I'm a bit more comfortable with higher winds as they have less effect and tend to be more consistent. If it's a tail wind, I'll accept slightly higher winds as it's less of an issue and you get a nice MPG boost. Running into a 25mph headwind, isn't a big control issue but really kills the MPG.
If in the mountains, it's a bigger issue as there are often changes in wind direction as it swirls around and as you pass valleys, there can be sudden cross winds.
I use the following to check on wind conditions along the route:
www.windfinder.com
www.ventusky.com