Details
Description
Analysis: The dictionary server which is started when a load is done with "single_pass=true" is never closed which did not allow the carbon application to exit because it is running on the main thread.
Solution: Add a listener to the sparkContext which closes the server when application ends