removed all non-threadsafe pooling code.

It's now fast enough to default to the safe version.