added socket default timeout