Add comments
Detect connection failures and try to reconnect
Reconnect in every state
Handle events when Not Connected
Move BaseStore to common
Use common BaseStore
Delete search result information when deleting document set
Add createdAt field to SearchResult
Fix compilation error