Clean up previous posts while initializing poet.
Added handling for errors while parsing a post.