Moving insertion of the Finished query into DB after query has been closed by the Driver.
Merge pull request #83 from sreekanth-r/test-fix

Fixing Order of Insertion of Grill Finished Queries