It’s possible this could be fixed by adding more time before yarn gives up. I’ve submitted a pull request:
You can make this change manually as explained by Mario Lurig:
See also: