Fix an issue on the monitoring with the threading execution of the two threads in the JdbcSqlQueryTest test