Circumvent "port is already open"-error, as the function seems to be called multiple times
Merge pull request #1 from pc-coholic/master

Circumvent "port is already open"