[GEOS-5758] Monitoring module build fails on windows because the H2 data source is not disposed of