Finally got the proc 2 to close proc 1.