Added 1ms timeout