envoyd: cleanup stdout