for callable, use the row key instead of sequential index count, add disconnect() method to help postgres with limited connections, update tests