I'd probably initialize this with a single element:

```python
timed_out = [False]
```

And below use:
```python
timed_out[0] = True
```

and

```python
if timed_out[0]:
```