Fixed host not found, tried to implement ICompare

- Moved host resolve within the try-catch
- TRIED to implement IComparer interface to make the Queue remove method
find the correct object and remove it.