Merge pull request #45 from cowboy129/master

Add GetStatus interface for connection active
Disable recovery when disable persistence