/** * Attempts to cancel the download (if in progress) and also removes the progress listener (to * prevent */ public void cancel() { if (dlWrapper != null) { dlWrapper.attemptCancel(); } }