After a discussion with an Apache expert his suggestion was to specify an AJP timeout.

Property AJP_LISTENER_READ_TIMEOUT in file ajp.properties is set to 300000.