Kill process on error