Use g_closure_add_finalize_notifier instead of g_closure_add_invalidate_notifier to free GClosures