Fix variable name to be able to stop worker