you can use schedule message and set date and time same as poll closes
I'm not familiar with this library, but you can search for it or get help from ChatGPT to write the code.