killing the worker journal via EXIT signal prevents the cleanup() function from executing! NOTE: this is a problem in other scripts as well and needs to be refactored there too!