Added test for timeouts in waiter queue