Fix reload of peer contexts (bug #6007)