removed unecessary picocom initialization and closing data.