Fixed for Solr 4.0 by removing the waitFlush parameter from the solr queries.