reap the worker properly