dont set read timeout to 0 if it is set to nil.