delete resource properly (remove resource from resourceset)