Remove uncommitted units when the ghost service is removed.