halt_x.is_connected always returns 0
This is because it first checks if (halt.is_bound()) and returns 0, then checks in the function that is called if (!halt.is_bound()) and returns 0
The patch changes the first check to also be !halt.is_bound()
thank you for spotting this (admittingly stupid) error, in r7743