Launch the Amazon EMR cluster, handle jobs and its status in a pipeline and terminate when done via script.