Spec for calling IO#wait on a closed IO.