Remove empty strings and spaces from configuration arrays
Shutdown the jvm if a loading an ingestion or query module fails