Kdb Connection logic started