In device_handle_read() we need to reset the read event on error or