Removed obsolete functions.
Added watchdog to abort if no answer from device is received.