FIX:
  catching connection errors
  databases is restored after removal