Reducing synchronized block in ServletController class

Hi, 

When I run performance test, I see a contention in ServletController.

I think the synchronization block can be reduced as this PR.