The Thread.stop() method is unsafe and thus deprecated. If the thread being stopped was modifying common data, that common data remains in an inconsistent state. A better way would be
To prevent an IP from connecting with your server, simply put this code into your form code area and replace the IP with the one you want to prevent: Private