Changed op.notify<-true to close(op.notify).
Merge pull request #458 from yifan-gu/close_chan

Changed op.notify<-true to close(op.notify).