[Connection] Fix for critical error in addon