fix a race-bug in the BasicPool, that could cause it to not quite meet its timeout.