Fixed the threading issue with AVAHI
Merge pull request #148 from bilgili/master

Fixed the threading issue with AVAHI