Considering a job switch? Why it pays to work at a startup even if it fails