call finalize on __del__ execution
as requested and discussed here [1] the deconstruction (__del__
) could call finalize and makes the live much easier.
If finalize()
was already called, __del__
does nothing
[1] https://git.ufz.de/rdm-software/timeseries-management/tsm-dispatcher/-/merge_requests/19#note_212402