public function process()
    {
        $this->validate();

        try {
            $serviceContext = $this->getServiceContext();

            $this->saveToolStates();

            if ($this->getRequestParameter('offline') === true) {
                $this->setOffline();
            }

            $result = $this->getRunnerService()->pause($serviceContext);

            $response = [
                'success' => $result
            ];
        } catch (Exception $e) {
            $response = $this->getErrorResponse($e);
        }

        return $response;
    }