while (consumer.run())
;
}
private DataConsumer pipe(VirtualMachine machine, ProfileListener listener, boolean continuous) {
LogSaver saver = logRepo.onNewLog(machine);
if (continuous) {
ProfileUpdateModerator moderator = new ProfileUpdateModerator(getLogger(ProfileUpdateModerator.class), listener);
moderator.start();
listener = moderator;