Delete a database after close all connections.