Kill process buffer after losing connection