Riverhead Supervisor Jerry Halpin appears to have won re-election in a close contest Tuesday, defeating Council Member Ken Rothwell 6,779 to 6,153.