The daqd stall test often fails when it shouldn't
The issue is the timing of epics updates a caget. Update the test to put in bounded caget loops to wait for the daqd to get to a non-stalled state and then a stalled state.
This is a test improvement, not a daqd code change.