Added an error handler when the RTMP connection fails by an unknown reason