VarysOutputStream was waiting on a lock that might never receive a notify.