GitHub #137: Notify the right condition var so that we don't wait for timeout