fixed bug in core where sources were getting an unsubscribe request even though there were still subscribers