almost working futurepool implementation