Save proc info before deletion to avoid core

Change-Id: I663190869c69fe702f0c3a20fe9196bbc082b179
Merge "Save proc info before deletion to avoid core"