Also, add parentheses to close: `close()`. The convention is that things with side effects have parentheses, while things that are just field getters or conversions (e.g. toString) can skip them.