Fixed excessive querying when not needed for the ip address
Added docstring to wait_for
Merge pull request #245 from psav/wait_doc_string

Added docstring to wait_for
Merge pull request #244 from mfalesni/event_fix

Fixed excessive querying when not needed for the ip address