better error handling on client side when daemon is not running