State acts to close online charter school