Delay Function
Polling redisigned wiht guava.