Remove debug stuff (logs and ...Thread.sleep)