Revert "Shared Sniffer Task Code review Fix"

This reverts commit a112e83f467200f73af0de1e8b6e7f0a87ab896c.