check rc in monitored queue

errors in the inner loop were silenced

also catch ETERM in Devices, allowing clean shutdown of a device without error messages.