block thread by TimeUnit/Set thread priority.