Fix sonar warning: "Last statement in finalize method should be a call to super.finalize()"