See this issue for more info and potential solutions: https://github.com/agronholm/anyio/issues/210