TIMOB-13665 Allow for code to happen during context launch.

See Jira for test.