patching for reconnection to couchdb if failed the first time

patching for reconnection to dashboard if failed the first time

patching for reconnection to couchdb if failed the first time

patching for reconnection to dashboard if failed the first time

new patch for seangchan comments

more comments from Seangchan