Update portscanner.js

Added Flipped the order of the check...sometime we don't care about an error if the status matches.  In the case of looking for an port not in use we actually want the timeout to trip.
Update portscanner.js

passing along error
Merge pull request #13 from skilesare/master

Update portscanner.js