updated example
adjusted read/write timeouts for windows