Avoid a race condition with unsollicited messages