Fix busy-polling bug in pgm_sender causing it to consume CPU cycles