added callback for daemon connect/disconnect