Making timeout configurable.