fixed startup service status()

check if pid is valid