- added the ability to cancel a pending message.