attempt to fix 'no open connections'

Now when database is unreachable, the message 'no open connections' should be displayed.