Pool quering logic is finished. Blocking and non-blocking methods.
New integration test for query debugging.