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.
Merge pull request #13 from citelao/patch-1

Stopped `getFreeTcpPort()` from suppressing errors