added an exit to the PollServer