added a Thread.sleep before an error is printed out to console if the
client rejected an incoming packet