When docker is stopped, docker-py receive a empty string in socket.readline()