have sqlite recover from a corrupt db
Sometimes, thing just happen, and the sqlite dict becomes corrupt. Added a feature to automatically delete it and kill the application so that it will rebuild upon restart.
Also added a producer poll operation during table recovery so the logs do not get spammed with authentication errors during long recovery times with Oauth clients.