Plug connection leak from table_spec.rb

Closes #328
Merge pull request #535 from strk/table_leak

Plug connection leak from table_spec.rb