updated code so an exception isn't thrown when no pid is read
updated code so an exception isn't thrown when no pid is read

ooici/coi-services,ooici/coi-services,ooici/coi-services,ooici/coi-services,ooici/coi-services