Bugfix

awsi.close() was initiating the auto-reconnect.