Optimise DB pool creation in web UI