tweaks to ssh tunnel

Tweaked to allow ssh tunnel to fail silently (e.g. when connection
cannot be made because one is already established outside of
application).  Has side effect of fixing error on first ajax connection.