I found a solution by modifying mod_jk parameters.
Parameters which influence the delay are socket_timeout and number of retries:
worker.list=loadbalancer
worker.worker1.socket_timeout=5
worker.worker2.socket_timeout=5
worker.loadbalancer.retries=1
[Message sent by forum member 'will_mad' (will_mad)]
http://forums.java.net/jive/thread.jspa?messageID=261135