Set read/connect timeout