Implement client timeouts.
Remove now-unused worker-threads config option.