Update SingleThreadPoolWithIntervalTime.java

remove unnecessary code.