[sr-dev] DB API and connection keepalive