Add a sleep in the poll loop till interrupts are implemented