Fix TcpConnection error event management
Update error log messages in Type Functions
Retry when exception occurs in ‘authorization’