Make pool run on it's own thread