Added wait to update_indexes invocation
Added logging of document storage errors
Merge pull request #1 from euroelessar/master

Added wait to update_indexes invocation