I think you should set a connect timeout and a read timeout on this connection. Otherwise it can be an easy way to bring WebLearn down when solr goes down. I'd suggest 5 seconds for each.