Luna display Mac to Mac crashes daily

Luna display, MacbookPro Catalina 10.15.5 and iMac HighSierra 10.13.6. MacBook is primary. After 3-6 hours secondary displat becomes vage and stops running. Exiting Luna Secondary with escape button takes on average 5 minutes, as iMac is unresponsive.

How to solve???