Fix getAddr racing with host causing panics

This fixes #3