Removes the given category from the configuration.
This function is thread safe.
category to be removed.