fix ignored IOPub messages with no parent

there was a `continue` without a new `recv`, which would cause an infinite loop.