wait 6 seconds before reloading document viewer