Now it's running good

Only not getting the right result
Optional value will be lost?
Worker side when to terminate?