slow worker when looping