I frequently encounter error message below while using data grid to get data from a database. The error message only shows up for certain query (with date-related string or integer) but not others. The error message would pop up 30-40 minutes into the query.
[2018-03-04 18:57:30] java.net.SocketException: Connection reset
[2018-03-04 18:57:32] java.net.ConnectException: Connection refused: connect
[2018-03-04 18:57:33] java.net.ConnectException: Connection refused: connect