seems like Windows does not use EBADFD to bad file descriptor state /cc @daniele/neiro