                         @_update_state_db()
                         @_update_state_listeners()
                         @_command      # launch the command: this might take a long time
-                            action : opts.action
-                            args   : opts.args
-                            cb     : (err, ignored) =>
+                            action  : opts.action
+                            args    : opts.args
+                            timeout : state_info.timeout
+                            cb      : (err, ignored) =>
                                 # finished command -- will transition to new state as result
                                 @_state_error = err
                                 if err

                                    cb : (err) =>
                                        dbg("start finished -- #{err}")
                else
                    opts.cb("may only restart when state is opened or running")

    # kill everything and remove project from this compute
    # node  (must be opened somewhere)

        args.push(@project_id)
        dbg("args=#{misc.to_json(args)}")
        smc_compute
            args    : args
            timeout : opts.timeout
            cb      : opts.cb

    command: (opts) =>
        opts = defaults opts,
