code: @Override
      public void onDestroy() {
          CommandServiceImpl impl = mImpl;
          if (impl != null) {
              mImpl = null;
              impl.destroy();
          }
          super.onDestroy();
          // Kill process
          android.os.Process.killProcess(android.os.Process.myPid());
      }
docs: Kill process when destroy