modified worker to work on a node only once per interval