Fix race condition when pooled connection is closed by the time we build the request, close #415