Refactored repo delete command to use the polling base class