In the below graph, you will see how the timeout feature works.
In this example, the Timeout was set to 2 seconds.
At time 0, Secondary Port is active.
At time 3, the Priority Port became active, and the Secondary Port was denied.
Priority Port was active for 3 seconds, and at time 6 it stopped.
The Timeout started counting down for the 2 seconds and it ended at time 8.
At time 8, Secondary Port was then allowed to connect.