tracking down a racing condition in Elixir language which happens only on Windows