Server Threads write votes to the database