Workaround race conition in uDMX driver

Avoid deadlock if device is closed before thread has started

Signed-off-by: Paul Brook <paul@nowt.org>