Change monitor state prior to issuing an async open to properly
handle error if host name failed to be resolved.