def METHOD_NAME(self):
    # kill the subprocess, clean the environment
    self.app.kill()
    self.app.wait()
    self.app2.kill()
    self.app2.wait()
    self.app3.kill()
    self.app3.wait()
    os.unlink(self.ftemp.name)