Fix poke exception when no daemon is listening