use setInterval in worker