Bug: PE: cl#5155 - Block the stop of resources if any depending resource is unmanaged
Test: PE: cl#5155 - Block the stop of resources if any depending resource is unmanaged
Merge pull request #294 from gao-yan/unmanaged-stop

 Bug: PE: cl#5155 - Block the stop of resources if any depending resource is unmanaged