check if local port is in use before starting tunnel