Dont throw exception while deleting an image