code: def stop_script(self, script_id):
          
          res = yield from self._pigpio_aio_command(_PI_CMD_PROCS, script_id, 0)
          return _u2i(res)
docs: Stops a running script.
  
          script_id:= id of stored script.
  
          ...
          status = pi.stop_script(sid)
          ...