<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _canceling_task(self, backend):
 """ Used internally to decrement `backend`s current and total task counts when `backend` could not be reached. """

        with self.backend_mutex:
            self.backends[backend] -= 1
            self.task_counter[backend] -= 1