Honor config resourceTimeoutMs

Fixed logic to default MS on  resourceTimeout if passed through to config.
Merge pull request #118 from mhemesath/patch-1

Honor config resourceTimeoutMs