Use more resilient operation to delete folders