fix memory leak in worker