Fixed concurrency related crash on IOIO disconnect/reconnect.