Fixed h2db locking issue. Thanks @gcmurphy .