added default timeout setting.