fixed linux bug when connecting to already connected tunnel - fixes #17