reworked hold function to use token

Signed-off-by: William Rockwood <wrockwood@tadl.org>