typo that stopped go routine from finishing