s4-server: pre-open the main ldb databases in the server