when we stop creation of a corpus and try to access it later, it still tries to connect to the socket.