Changed 'close' to 'shutdown'