chaning download getLocaleRequest function to trigger the callback specifically on end writeStream event and to wait 1 second before doing so