Queue not refreshed after added a directory to it.