     {:noreply, state}
   end
   def handle_info({:restart}, state) do
+    Logger.debug("Get restart #{inspect self()}")
     Serverboards.Plugin.Runner.stop(state.cmd)
     handle_cast({:start}, state)
   end

      started_at: nil,
      task: nil
    }
    Logger.info("Restart init #{state.init.id} in #{state.timeout} seconds.", state: state)
    state
  end


      _other -> -Timex.Duration.diff(started_at, nil, :seconds)
    end
    timeout = max(1, min((timeout - running_for_seconds) * 2, @max_timeout)) # 2h
    if state.timer do
      Process.cancel_timer(state.timer)
    end
    timer = Process.send_after(self(), {:restart}, timeout * 1000)
    state = %{
      state |
