fixed channel.close() to remove itself from session._openedChannels, needs device testing

Change-Id: Ib38683723950db385fba2255c5a92fa196aea2c7