make sure all caches get cleared
make sure pc exists
centralize stop
reduce output in case of a exception, only write to exception log
centralize stop