refactor to make timeout of reading content of url configurable ...