finish connection sequence