Better pid_t handling for Frameworks/Service