remove IllegalStateException when download error for less error log