Sometimes when reconnecting the internal RTMP data is not cleared (particularly the TLS data). This can cause TLS data to carry over from one connection to another, causing issues with the secondary connection.