Clean up event handlers in DSLibraryServices