Ack timeout is too short under stress scenarios.
- Bumped ack timeout to 30 seconds.
- Made ack handler public so it's easy to override the timeout.

#1435