Fixed scanner closing bug