Merge pull request #1842 from selvaganesang/commit_nowait

[TRAFODION-3310] Commit transaction needs to be complete before returning to the caller.