What I would do the following:
i made of pogressbar from 0 to 60. As if the bar was the account of a minute.
Namely: Ownership:
Property: Min. 0
Property: Max. 60
Would create a timer that every second will add a 1 to the progress bar.
Event. : Progressbar.Value = 1
When the bar reaches the end of 60 seconds then would make the Value property value back to 0 and retelling.
It would be interesting that every time the timer is turned on, ask if the connection has been established.
If the connection has been established then close the Timer.
If the connection is not established entonecwss still counting.
Hope that helps.
A greeting.