set dial and read/write timeout