I encountered a problem with removing the connection to the data source.
The studio reports that the connection is in use. The usage sheet reports that the connection is not in use.
I found where it is used... I searched in studio and indeed the 'Workflow' connection was used in sql command.