changed jiffy-client a bit to exit when in progress