open a new connection at the end