allow return value of worker to be null and undefined