Added proper database reconnects... and more error handling, that should help address Issue #87 in main node-red Issue list.