Removed test code "Thread.sleep(3000);".