Improved timeouts and changed the code so that if a packet was delayed, it wouldn't destroy the CPU