added timeout param
doc for new timeout param