test db opened timeout.