Fixed Scanner leak