John Lloyd resigns as public service commissioner