Exception treatment implemented for actions close and delete poll.