Self terminating worker