public function closeTask(int $taskId): bool
    {
        if ( ! $this->validateId($taskId)) {
            return false;
        }

        $result = $this->post('tasks/' . $taskId . '/close');

        return 204 === $result->getStatusCode();
    }