windows: fixing serial timeouts