Tell the bandleader(s) you're not happy with the last minute cancellations, and if it happens again within (insert patience-length appropriate time period here), you'll be off, then stick to your word.
I wouldn't leave without telling them why - bands fall apart and reform, and by letting them know its the logistics that's putting you off, an incarnation with better organisation might be calling you up.
Good luck