Check for channel configuration before attempting to close channel

Throwed an exception previously on Win8 App checkpoint (suspend), e.g
user starts app without USB ANT stick and then app is suspended