Ah, this is still racy. Should be `case ch.checkout <- true:`