do not insert null task result - avoid exception