Wrap deleting in try/catch for smoother error handling