changed thread variable to an executorservice in the process manager