Redirecting to Download Reactjs PDF after seconds