Bad form, and quite rude.
EDIT: Cirmustanses both ways, but usually it's bad. Usually there are other people waiting to play the machine etc etc. Maybe if there's time, and it's the end of your match it might be ok. If it's liek the first or 3 games that's a huge no no. Rookie move.