major refactor to use connectionpool instead of fiberiterator (still needs work)