Fix code to receive packets even after error
Bugfix for getdelay,
sigint had some problems ..