Stopped `getFreeTcpPort()` from suppressing errors

I'm using your `getFreeTcpPort()` method in my scripts, but I modified it to keep it from permanently suppressing errors in the script.

I was getting silent fails in my sockets until this change.

btw thanks for the documentation reference! Much appreciated!