Column name formating to handle comma and jdbc connection close after su...

...ccessful query execution
Is this change correct? I see header is getting set with format(secondcol,2)