BACKLOG-5158: improve socket closed exception by pool the connection and small improvements on attributes returned in queries