worker inactive function