stop races on adding connections and close them properly to stop broken pipes
ignore the binary on linux systems as well