def disconnect(self):
if self.sascfg.mode != '<STR_LIT>':<EOL><INDENT>res = "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>res = self._io.disconnect()<EOL><DEDENT>return res<EOL>
This method disconnects an IOM session to allow for reconnecting when switching networks
See the Advanced topics section of the doc for details