Add support for semaphoreapp thread env vars