Fixed issue where cancelled operations aren't removed from runningOperations.