I seem to remember this from some time back.Go into Task Manager, Services and look for WLIDSVC. This is normally set to running, but if you click on Running and select Stop Service this may help. Don't know why, but this worked at the time for the poster ! If no change to your problem, re-set to Running. To get to Services, do a Ctrl/Alt/Del keystroke and then select Start Task Manager.
OnePlus 5 review