public function stopAction()
{
$taskId = $this->request->get('task', 'ignore');
if (isset($this->_tasks[$taskId])) {
$taskName = $this->_tasks[$taskId];
$this->tasksMetadata->set($taskName, Metadata::FIELD_CANCEL_FLAG, 1);
}
return $this->response->redirect('/admin/task');
}