Handle async enter/exit hooks