fixed duplicating messages.
fixed sqlite query error.
added timeout pull for posts.