Bugfix: __exit__() didn't close port.