showthreaded can often time out on very large threads, since it's trying to display a large structure. Not sure if that's the case here, but if you have lots of long threads, and lots of people using threaded mode, they will often encounter time outs. Flat mode doesn't usually have that problem.