Update PortChecker.java

Fixed windows port checker since the connection is not always established it would sometimes not get the process.