Global db, terminate self