Stop CLI from hanging when Loggregator keeps returning errors.

[Fixes #76545800]