Fixed Resource Leak with try (Scanner)