Fix return value - invert check if DB exists after deletion
Fix workspace deletion
- remove a connection to a workspace from openconnections and close it
- close conncetionCache from connectionCaches
- remove from mapOfCaches properly