Remove catch clause which is never executed
pid_t could be possibly not int
Refactor get_machine_status
Merge pull request #406 from gintenlabo/fix-uninitialized-values

Fix issue #377 (get_status returns uninitialized values on some platform)