flush_index hangs when no indices exist, then eventually just closes the connection
flush_index hangs when no indices exist, then eventually just closes the connection