poll: clear the modes set in the options