title: Windows cmd/Powershell, ping every second even during timing out
body: <p>I have the following PS code for logging the ping every second:</p>
  <pre><code>ping -t google.com | Foreach{&quot;{0} - {1}&quot; -f (Get-Date),$_} &gt;&gt; filename.txt
  </code></pre>
  <p>It indeed logs <em>every</em> second, that is, if the ping is 140ms, the next ping request is in 860ms, as I seemingly have data for <em>every</em> second without skips.
  However, when a timeout occurs, exactly 5 seconds are skipped every time:</p>
  <pre><code>12. 4. 2021 16:13:10 - Reply from 172.217.19.110: bytes=32 time=20ms TTL=111
  12. 4. 2021 16:13:11 - Reply from 172.217.19.110: bytes=32 time=79ms TTL=111
  12. 4. 2021 16:13:16 - Request timed out.
  12. 4. 2021 16:13:17 - Reply from 172.217.19.110: bytes=32 time=26ms TTL=111
  12. 4. 2021 16:13:18 - Reply from 172.217.19.110: bytes=32 time=67ms TTL=111
  </code></pre>
  <p>It is hard to believe that every time this happens, the connection is lost for <em>exactly</em> 5 seconds, than restored; it seems that the timing out &quot;blocks&quot; new ping commands. Is there a way to circumvent this?</p>