Windows threadpool shutdown

/cc @indutny