Pool::Flush is now namespace aware

If a namespace is set flush() will only clear that specific namespace.
Otherwise the entire pool gets cleared.