I noticed that, when I changed the code to use the sunpy downloader, the routine did not block the terminal in the meantime, i.e. it did not wait for the download to complete before moving on to the next line. Is this intentional behaviour? I can see both advantages and disadvantages of this.

In this particular case though I would like the routine to wait for the download to finish before moving on.