Perform write consistency check on node that holds primary shard instead of the node that receives the request

Note sure, but this seems really crucial (and thus a good catch). Do we have a test that verifies indexing timeout works?