Adds error checking if host fails to send data through socket

Hangs on DBUS_REPLY_SEND
Documentation specifies read_write_dispatch loop is blocking and not thread-safe
Revision to match/filter/watch may offer a solution
read_write_dispatch may be needed after sending a DBus message, however