How to stop spark job