make timeout configurable