possible fix for channel "leaks"