Added assert to future wait to catch spurious wakeups