handle download manager error.