Closes admin after using it and uses HTableInterface instead of HTable.