Revert "minor change for reconnection of serial."

This reverts commit cde33549ed51e60903ffe14217dd67b9947d60f8.