clean up htable after finishing get and put operations.

 Fixes #206