enable auto-flushing in CLI
be more resilient about messages arriving before we start to wait for
their arrival (basically, avoid a race condition).