Added method for forcing a pending action to be performed.

This is useful when a pending action needs to be completed upon closing
a record/resource for instance.