how to stop gorutine through channel