Make votes use socket