Started refactoring the library to give the EventListener more control over whether to stop the BinaryLogClient.