add timeout to daemon, update getaddressbalance