Valid channel close() and Wait conditions