Fix #1170.
Merge pull request #1175 from EXetoC/await-discard

Fix #1170.