Ensure session factory is constructed once when service begins and not every request.