check connection before download, use color to mark status of download task.