Description
Call to JavaStreamingContext#awaitTermination() can throw InterruptedException which cannot be caught easily in Java because it's not declared in @throws(classOf[InterruptedException]) annotation.
This InterruptedException comes originally from ContextWaiter where Java ReentrantLock is used.