How to AUTOMATICALLY subtract reward points when customer cancelled his order?

Thank you.