server main thread pool handle made exportable