Picarro interview question

How to avoid livelocks ?