Obtained the cursor upon connection