Channel can now return their execution context
Moved stack cleanup to the executor to avoid any potential race conditions
small tweaks to JNI