Fixed variable name when using 'close'
Merge pull request #3 from luizsilva/patch-1

Fixed variable name when using 'close'