Close pipe_worker in master process.