improve releaseMtContextAfterRun check; if set releaseMtContextAfterRun ensure only run once #26
add ut for releaseMtContextAfterRun #26