fixed araqne/issue#450. fixed unload failure if same script instance is mapped to many topics