Synchronize accesses to the tracker map

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