Never Ending Iray Preparing Scene on Viewport

Lately I started to get this problem:
Never ending iray preparing scene on viewport.
The iray image on viewport didn't show up.
I have to close it, open it again. This is very time consuming.
How to fix this?
Comments
please post your pc specification.
Ryzen 5 3400g
RTX 2060
32GB DDR4
Mobo: TUF GAMING B450M Pro II
SSD Adata 500GB