Added some retries to delete.