Pevent recusive call for getPort and getSocket

This example crashes the application:

for(var port = 8000; port < 9000; port++) net.createServer().listen(port);
portFinder.getPort(function(err, port){console.log("Found port " + port);});

because when portFinder.getPort fails to open a port, it call getPort recursively.