server: add `timeout` option
1.17.7