It's possible to be polite while being mindful of how many interrupts you are causing another person.
Good! If you went up to someone in person who is in flow state and say HELLO! you'll probably get a rude response too.