added closing procedure for serial line
Merge pull request #1 from WeAreROLI/closingFeature

added closing procedure for serial line