Synchronize accesses to the tracker map

There are also some other data races. You can see them if you build gone with
```
go build -race
```