Added branch to exit at the start of procedures.
* Allows async-called procedures to exit immediately.