Depending how your machine software/OS reacts to keyboard interrupts it might explain the delay. PS2 is more likely to use hardware interrupt than USB and depending of interrupt programming it might cause hanging issues. (Let's say a key is stuck, it will interrupt the main program non-stop)
USB keyboard might patch the problem...