Added close(ch) handling