Android: Fix getPid() and add killPid()