Killing process after trabsfer is over