My AA works fine, you can recreate the issue and submit an issue report to Samsung Members app. Hopefully it'll find the cause for the issue.
Other than that... maybe the cable or the port is shorting?? hence the phone thinks you disconnected and re-connected. I've had similar cases before due to bad cable