KAZOO-543: coordinate the logout being written