Fix to allow stopping of running cloud jobs