TAP, supports sync and async querys