feat(util/thread): std::thread replacement that allows us to set the stack_size

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>