| means that fails to connect, because you do not have retries and timeouts configured, Jenkins will wait about 5 min to retry to connect (retention strategy), if you configure 10 retries, 15 seconds between retries, and a timeout of about 240 seconds you will not have to disconnect an reconnect the agent when it happens, it will reconnect automatically if it is possible, and you will see the reconnections on the log. |