Is it impossible for the temperatures to succeed when reading memory failed? In that case, I think a `continue;` should be added to the error handling.