There is no track. The swarm walks the shortest route it can find, and every tower you place is a wall that changes it. Build a long corridor and they walk the whole thing.
You cannot seal the exit — that placement is refused. Call a wave early and the unspent timer becomes gold.