fix connect timeout