To add killTaskProcess()