Print the time it took for the import to finish
a few optimizations to allow faster import of polls
close already ended polls