Correct scanner delete operation.
DELETE method instead of GET and
self.table.connection instead of non existing self.connection
auto delete scanner after results are returned