AbstractDoxygenMojo: Properly close input scanner