Fix magic number warning
Alter sdb clients to be created once per use rather than long lived