Fix side effects of sink.Close() refs #4 and #5 Fixed in a straight way by removing logic with sink ID. The logic was corrupted any way. Aman Gupta explained the problem in #5 and figured out the cause with sink ID. In this change I suppose that a number of sinks will not very large.