Remove a previously added an action so that it no longer runs when the JVM exits.
the action to remove