some db is not closed

my->_delegate_records
my->_name_records
Merge pull request #44 from HackFisher/patch-4

some db is not closed
Merge remote-tracking branch 'upstream/master' into lotto_experi
Lotto: unit test, list tickets