Code to generate individual async client requests to hit a servlet