Kill process after killing its children

@child will be nullified in on 'close' callback