Prevent crashing when asking for status with invalid pid
The application (or a thread) crashes silently when the DBus functions status or refresh_status are called with an invalid Pid
The application (or a thread) crashes silently when the DBus functions status or refresh_status are called with an invalid Pid