Make sure AsyncContext is not used outside valid scope
TODO
Rewrite input/output discovery/recording