added support to modify default_timeout