Remove terminated resources