[PLAT-4612] Exit after tool has run
[PLAT-4166] Don't hold lock while performing callback