* [ADF-5173] - delayed destroying of pdfjs worker to prevent error on closing while loading * [ADF-5173] - added delay instead of setTimeout * Update pdf-viewer.component.ts Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>