Fix infinite loop in Client.logs(stream=True) caused by connection close...

socker.recv() in function recvall() returns empty string when connection is closed. This causes infinite loop.