Make http timeout configurable