Polls close in tightly contested Australian by-election