set send/read timeout