FIX: If background fails, rerun just runs the first scenario and skips other scenarios

Refer #650