Changed how QHY5 reset is performed (much more dependable),
add a "capture thread end" if a brute force camera disconnect
is requested.
TODO: fix program remains unstable after this brute force...