Rewrote listener/heartbeat threading structure
thereby fixing a problem that could cause a connection to hang up in
pull-mode after e.g. a calibration.