How to stop receiving messages temporarily?

Is there a neat way to stop receiving messages temporarily in mysensors node? I have a node which must perform a routine of sequence of actions of roughly 5 seconds upon receiving a command. If another command comes when the routine is performed it produces unwanted side effects.

So I am looking for a method or workaround, which would allow when command is received to stop listening to radio, after the routine is completed - restart listening again.