adding worker shutdown, without the program don't stop