avoid possibility of race condition with timer Executor on JDK 8