check if worker is alive