Making downloading async, thanks unit tests.