while uploading sketch from Arduino Ide , it gets disconnected. 