Fix #93 Keep slave connections thread local.

This is probably not an ideal fix for #93 but it seems to work.