You just stated the reason why engineers have a hard time getting hired as baristas when they're laid off.
The hiring restaurant knows you can and will walk as soon as you land another engineering gig.