Adding retry mechanism for thumbnail preloading as the server is likely to randomly respond with a 400 or 500 (Note: some file types like bmp images currently always respond with a 500 status code)