Wait notifyAll tennis game