fix for async task never calling done when no images need compressing, resolves #2