Rework how we do timeout lookups

Still TODO: range queries can get very slow for large amount of unique values
Proposed: only throw friendly errors when configuring RavenDB testing the connection while at it