Fixed dead lock in the Servlet 2.5 adapter.