catching an error when removing waiters