Added polling instead of fixed sleep