Fix connection method call in TailCommand.