Fix Pool constructor to work in async case