Print listening error if Debug is on
context: fix WriteEntity -- first write header then status