Add defence against bad network connection when loading alerts