Run code after a subroutine call, preserving the context the subroutine
