close goroutine's output channel after delivering return value
fix typo in README