- database connection failsafe fixed