Incorporated review comment : Added test for connection close after succeeful query execution