Implemented close and getInput stream. WIll start writing sensor data now.
Only not able to write socket. Sensor Logger working.
Sensor data at 100 hz done.
Shifting threads to AsyncTask
AsyncTask Working.