Reduced the length of time when interrupts are disabled in receive_ticks()