On-error, the CLI won't return from the streaming call to the `exec` endpoint. This might be due to the stdin stream wasn't closed.