Close scan in Utils.java

Signed-off-by: AlvaroOrduna <alvaro.orduna.92@gmail.com>