Prevent double-dispose.