Added a 1ms sleep() to multi_receive() so it doesn't busy loop away the CPU.