Fix snort pid detection