cleanup OTAPI_Exec
Merge pull request #319 from mhamrle/otapi_cleanup

cleanup OTAPI_Exec