Fracking commissioner resigns after six months