retry rmdir a few times

This is nasty but it seems to help with Issue #235 ...  Alternatively, we could use something like npm [sleep](https://npmjs.org/package/sleep) to wait for bit and retry but that seems like overkill.