Making sure that we don't have a deadlock when disposing an embedded document store with http server enabled.
Merge pull request #568 from ayende/2.5

Making sure that we don't have a deadlock when disposing an embedded doc...