finish go routine