Long lines stream at the polls as early voting ends