add timeout to address resolve
Merge pull request #217 from mongoid/timeout_on_resolve

add timeout to address resolve