Remove edges when the process they're connected to is removed, fixes #4