See https://issues.apache.org/bugzilla/show_bug.cgi?id=49709 and attached patch.

The patch makes conceptual sense to me, though I haven't studied the details.  Perhaps someone has a head start on learning the apr thread pool implementation?