Refined connection process.
Added inquiry destruction.
Refined connection process.