halui test: give halui a few seconds to switch the task mode back
halui test: give halui a few seconds to switch the task mode back

When halui finishes an mdi command it switches task back to whatever
mode it was in before the mdi command started, but this can take a
little while.  So dont freak out if it's not already done the first time
we check.

Signed-off-by: Sebastian Kuzminsky <62d754cc350e84d3b1c32ae79f976f5348e74a40@highlab.com>

bmwiedemann/linuxcnc-mirror,ikcalB/linuxcnc-mirror,ikcalB/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,ikcalB/linuxcnc-mirror,ikcalB/linuxcnc-mirror,ikcalB/linuxcnc-mirror,ikcalB/linuxcnc-mirror,ikcalB/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror