Head of Erie County Department of Social Services resigns suddenly