re-added proper exception handling to hardware daemon
added proper exception handling to comms module