correct resource handling such that finalizers do not hold on to references
thus inhibiting memory release