title: res.download() callback function doesn't work properly
body: <p>The callback function for <code>res.download()</code> is supposed to run when the download is finished. But sometimes it runs when download is still in progress. Is it a bug? or should I even rely on this callback function to know when a download is completed?</p>