void (final SuspendContextCommandImpl command) { if (!isResumed()) { // Important! when postponing increment the holds counter, so that the action is not released too early. // This will ensure that the counter becomes zero only when the command is actually executed or canceled command.hold(); myPostponedCommands.add(command); } else { command.notifyCancelled(); } }