fix condition where status would be returned even if worker not running task