Astranis interview question

What is a way to avoid data races?