Making sure CommandTemplate finalize method is called in QLauncher