This change prevents the CLI process from exiting with a non zero status unless a real shutdown error has been detected. Previously, exit could be triggered even when no failure occurred, which caused false error codes in Composer and other automation tools.