[GEOT-4629]:Fixing H2 lock timeout
Merge pull request #349 from geosolutions-it/GEOT-4629

[GEOT-4629]:Fixing H2 lock timeout