Better object clean up in worker, fix for #95