[TEST] Expect all shards to fail if full refresh failed
Throw EngineClosedException if engine is closed

Currently we throw misleading exception in acquireSearcher
if we try to acquire while we are failing the engine. We should
throw an EngineClosedException instead.

Relates to #5633