Switched to pid check instead of service pid check.
if pid is 0 - pidIsAlive() should return false.