catch socket.error in smr-map when downloading files