`disconnect_event_signals` can be called twice (when managed instance is disposed and from the ScriptInstance destructor).