Redirecting to Download Api Rp 505 PDF after seconds