possibly avoid a spin loop

I once found interkonnect at 100% CPU usage, but was not sure why this
was the case. Hopefully add a cooldown in the while loop to at least
prevent it from consuming 100% of the CPU.