add missing unload function call for guest connection