Kill npm process when simulator exits.