Nextcloud client exits after some time on Windows 10

Running windows 10 client version2.6.2.
For sometime I leave it runnign and when I come back the next day the client has exited.

Eventually I found this in the windows 10 log file

OCC::RequestEtagJob::finished Request Etag of QUrl(“https://nextcloud.wthassociates.com/remote.php/dav/files/Photography/Danielle-Around the World”) FINISHED WITH STATUS “OK”
[unknown Qt: INTERNAL ERROR: failed to install GetMessage hook: 1158, The current process has used all of its system allowance of handles for Window Manager objects.
[unknown QEventDispatcherWin32::registerTimer: Failed to create a timer (The current process has used all of its system allowance of handles for Window Manager objects.)

How can I fix this?

Is any other information needed

Best wishes

Terry