Rescan on browser close.