Fix typo in documentation.
Use global state in delayed example.