enclose DlHandler with namespace TUPO
modify the demo to fit namespace and add demo of DlHandler.close()