[Fix #530] Continue to read from NL socket

When `recv` from the NL socket if the return value is 0, continue to read.