little fix regarding database configuration
add close_connections_to method for renaming and dropping