Added error handling when downloading downtimes data