issue #4544: add timeout default value and add some comments