fixed elastic search crashing with blank pid