lib/Patchdemo/Catalyst.php: Fix streamLogs timeout reconnect logic
Move the call to $this->eventSourceHttpClient->connect() inside the
main loop of streamLogs to ensure that we get a fresh connection for
each retry.
Do before/after testing by lowering STREAMLOGS_HEARTBEAT_INTERVAL to a
small value like 5.
Bug: T422154