Closed conn detection for mysql pool.
prefetch for traversing *up* the query tree.
Test enhancements.
Refactor prefetching.